package com.java1412.goods.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author java1412
 * @since 2023-07-24 11:11:43
 */
@RestController
@RequestMapping(value = "/api/v1/config")
public class ConfigTestController {

//    @Value("${user.userName}")
    private String userName;

    @RequestMapping(value = "/test-config")
    public String findByGoodsId() {
        return userName;
    }
}
